package com.tender.mapper;

import com.tender.domain.ShiroResource;
import com.tender.domain.ShiroResourceExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ShiroResourceMapper {
    int countByExample(ShiroResourceExample example);

    int deleteByExample(ShiroResourceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ShiroResource record);

    int insertSelective(ShiroResource record);

    List<ShiroResource> selectByExample(ShiroResourceExample example);

    ShiroResource selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ShiroResource record, @Param("example") ShiroResourceExample example);

    int updateByExample(@Param("record") ShiroResource record, @Param("example") ShiroResourceExample example);

    int updateByPrimaryKeySelective(ShiroResource record);

    int updateByPrimaryKey(ShiroResource record);
}